import {requestTool} from '../index'

const rootUrl = '/PersonalInformation'

const informationMap = {
    getPersonMsg:{
        method: 'get',
        url: '',
        ContentType: 'rest'
    },
    putPersonMsg: {
        method: 'put',
        url: '',
        ContentType: 'json',
        submitData: {
            profilePhoto: 'profilePhoto',
            userId: 'userId',
            name: 'name',
            gender: 'gender',
            personalProfile: 'personalProfile',
            area: 'area',
            schoolName: 'schoolName',
            major: 'major',
            birthday:'birthday',
            corporateName: 'corporateName',
            position: 'position'
        }
    }
}

const requestMap = requestTool(informationMap,rootUrl)

export default requestMap;